﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class PersonClass
    {
        public string name;
        public int telephone;
        public string adress;

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public int Telephone
        {
            get { return this.telephone; }
            set { this.telephone = value; }
        }
        public string Adress
        {
            get { return this.adress; }
            set { this.adress = value; }
        }
        public PersonClass()
        {

        }
        public PersonClass(string xingming, int dianhua, string dizhi)
        {
            this.Name = xingming;
            this.Telephone = dianhua;
            this.Adress = dizhi;
        }
    }
}
